An Open Ended Tree
نویسندگان
چکیده
An open ended list is a well known data structure in Prolog programs. It is frequently used to represent a value changing over time, while this value is referred to from several places in the data structure of the application. A weak point in this technique is that the time complexity is linear in the number of updates to the value represented by the open ended list. In this programming pearl we present a variant of the open ended list, namely an open ended tree, with an update and access time complexity logarithmic in the number of updates to the value.
منابع مشابه
PROGRAMMING PEARL An Open Ended Tree
An open ended list is a well known data structure in Prolog programs. It is frequently used to represent a value changing over time, while this value is referred to from several places in the data structure of the application. A weak point in this technique is that the time complexity is linear in the number of updates to the value represented by the open ended list. In this programming pearl w...
متن کاملEvolution Characteristics of Complex Fund Network and Fund Strategy Identification
Earlier investment practices show that there lies a discrepancy between the actual fund strategy and stated fund strategy. Using a minimum spanning tree (MST) and planar maximally-filtered graph (PMFG), we build a network of open-ended funds in China’s market and investigate the evolution characteristics of the networks over multiple time periods and timescales. The evolution characteristics, e...
متن کاملInformation literacy in public libraries from the perspective of public libraries’ policymakers; an exploratory study
Purpose: The present paper aims to conduct an exploratory study on the status of information literacy in upstream documents and curriculums of Iran public libraries institutions for public libraries. Methodology: This is a developmental exploratory-qualitative study in terms of purpose. Research data were collected using in-depth, semi-structured interviews with policymakers and officials of p...
متن کاملCO2 adsorption on the surface and open ended of Single wall carbon nanotubes (SWCNTs): A Comparative study
Adsorption of CO2 on the surface of Single-wall zigzag (5,0) and armchair (4,4) carbon nanotubes (SWCNTs) were studied through using density functional theory (DFT) calculations. Optimizations of geometric were performed at the B3PW91 level of 6-311++G** method standard basis set using GAUSSIAN 03 package of program [1]. Structural models were optimized and adsorption energies, band gap, charge...
متن کاملCO2 adsorption on the surface and open ended of Single wall carbon nanotubes (SWCNTs): A Comparative study
Adsorption of CO2 on the surface of Single-wall zigzag (5,0) and armchair (4,4) carbon nanotubes (SWCNTs) were studied through using density functional theory (DFT) calculations. Optimizations of geometric were performed at the B3PW91 level of 6-311++G** method standard basis set using GAUSSIAN 03 package of program [1]. Structural models were optimized and adsorption energies, band gap, charge...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید
ثبت ناماگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید
ورودعنوان ژورنال:
- TPLP
دوره 3 شماره
صفحات -
تاریخ انتشار 2003